package entity;

public class Stream {
	private int id;
	private Dormitory dormitory;
	private String month;
	private double streamRead;
	private double streamFee;
	private String state;
	
	public Stream(){
		
	}
	public Stream( Dormitory dormitory, String month, double streamRead,
			double streamFee, String state) {
		//super();
		this.dormitory = dormitory;
		this.month = month;
		this.streamRead = streamRead;
		this.streamFee = streamFee;
		this.state = state;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public Dormitory getDormitory() {
		return dormitory;
	}
	public void setDormitory(Dormitory dormitory) {
		this.dormitory = dormitory;
	}
	public String getMonth() {
		return month;
	}
	public void setMonth(String month) {
		this.month = month;
	}
	public double getStreamRead() {
		return streamRead;
	}
	public void setStreamRead(double streamRead) {
		this.streamRead = streamRead;
	}
	public double getStreamFee() {
		return streamFee;
	}
	public void setStreamFee(double streamFee) {
		this.streamFee = streamFee;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	@Override
	public String toString() {
		return "Stream [id=" + id + ", dormitory=" + dormitory + ", month="
				+ month + ", streamRead=" + streamRead + ", streamFee="
				+ streamFee + ", state=" + state + "]";
	}

	
}
